package simtester.server

import java.util.Date;

class ResultEntry {
    static belongsTo = [testrun: TestRun]

    String entry
    String level
    Long testcase
    String type
    Integer response
    Integer user
    Integer iteration
    Date timestamp
    
    static constraints = {
        response nullable: true
        type nullable: true
        testcase nullable: true
    }
    
    static mapping = {
        testrun index: true
        timestamp index: true
    }

}
